<?php defined('IN_PHPCMS') or exit('Access Denied'); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="favicon.ico" rel="shortcut icon" />
<title><?php echo $head['title'];?></title>
<meta content="<?php echo $head['keywords'];?>" name="keywords" />
<meta content="<?php echo $head['description'];?>" name="description" />
<base href="<?php echo SITE_URL;?>" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="/info/templates/default/skins/default/digg_common.css" rel="stylesheet" type="text/css" />
<?php include PHPCMS_ROOT.'../include/common.shtml'; ?>
</head>

<body>
<?php include PHPCMS_ROOT.'../include/lvmao_intro.shtml'; ?>

<div class="box">
<div style="float:left; width:695px;">
<div class="info_lead line_gray">
<a href="#" style="margin-left:24px;">首页</a>|<a href="#">看绿猫</a>|<a href="#">商务</a>|<a href="#">企业</a>|<a href="#">人才</a>|<a href="#">问吧</a>|<a href="#">学术</a>|<a href="#">维基</a>
</div>
<div style=" height:67px; width:690px; margin-top:6px; font-size:12px;" class="line_gray">
<?php include PHPCMS_ROOT.'../cmsblock/_ads.shtml'; ?>
</div>
</div>
<img src="/img/p1.gif" style="display:block; float:left; margin-left:5px;" class="line_gray" />
<div class="cle">&nbsp;</div>
</div>

<div class="box line_gray" style=" width:948px; height:42px;">
<div style="width:500px; margin-top:7px; margin-left:10px; float:left; display:inline;">
<input name="" type="text" style="height:22px; line-height:22px; vertical-align:middle; width:420px; font-size:19px;" />
<input type="submit" id="button" value="搜 索" style=" vertical-align:middle; background-image:url(/Img/info_b4.gif); height:28px; width:54px; border:0px; color:#FFFFFF; font-weight:bold;" />
</div>
<div style=" width:400px; float:left; font-size:12px; line-height:17px; margin-top:5px; margin-left:20px;">
<?php include PHPCMS_ROOT.'../cmsblock/_hotword.shtml'; ?>
</div>
<div class="cle">&nbsp;</div>
</div>



<div class="box" style=" height:42px; background-image:url(/Img/info_b5.gif); width:950px; line-height:34px; font-size:12px;">
<a style="width:250px; display:block; float:left;" href="/info/">&nbsp;</a>
<div style="width:690px; float:left;">
<?php $subcats = subcat('phpcms', 0, 0);?>
<?php if(is_array($subcats)) foreach($subcats AS $catid => $cat) { ?>
<?php if($cat[catid]!=77 ) { ?>
<a href="<?php echo $cat['url'];?>" style="color:#FFFFFF; ">&nbsp; <?php echo $cat['catname'];?></a>
<?php } ?>
<?php } ?>
</div>
</div>

<div class="box" style=" margin-top:0px;">
<div style="width:318px; float:left; background-image:url(/Img/info_b6.gif); background-repeat:no-repeat;">
<div style="width:308px; overflow:hidden; margin-left:10px;"><?php echo tag('phpcms', 'tag_content_slide', "SELECT a.contentid,a.catid,a.typeid,a.areaid,a.title,a.style,a.thumb,a.keywords,a.description,a.userid,a.updatetime,a.inputtime,a.url FROM `zzinfo_content` a, `zzinfo_content_position` p WHERE a.contentid=p.contentid AND p.posid=2 AND a.status=99   AND  `thumb`!=''  ORDER BY a.contentid DESC", 0, 5, array (  'class' => 'url',  'target' => '_blank',  'width' => '310',  'height' => '268',));?></div>

<div class="infobox1">
<a href="#" class="title">热点新闻</a>
<a href="#" class="more">更多>></a>
</div>
<div class="infoc1 infolist1">
<?php echo tag('phpcms', 'tag_content_lvmao', "SELECT c.contentid,c.catid,c.typeid,c.areaid,c.title,c.style,c.thumb,c.keywords,c.description,c.userid,c.updatetime,c.inputtime,c.url,n.hits FROM `zzinfo_content` c,`zzinfo_content_count` n WHERE  c.contentid=n.contentid AND c.`status`=99 ".get_sql_catid($catid)." ORDER BY n.hits DESC", 0, 10, array (  'class' => 'url',  'target' => '_blank',  'titlelen' => '46',));?>
</div>

<div class="infobox1">
<a href="#" class="title">图片新闻</a>
<a href="#" class="more">更多>></a>
</div>
<div class="infoc1 infolist1">
<?php echo tag('phpcms', 'tag_content_pic', "SELECT contentid,catid,typeid,areaid,title,style,thumb,keywords,description,userid,updatetime,inputtime,url FROM `zzinfo_content` WHERE  status=99   AND  `thumb`!=''  ORDER BY contentid DESC", 0, 9, array (  'class' => 'url',  'target' => '_blank',  'titlelen' => '12',  'height' => '80',  'width' => '120',));?>
</div>

<div class="infobox1">
<a href="#" class="title">近期关注</a>
<a href="#" class="more">更多>></a>
</div>
<div class="infoc1 infolist1">
<?php echo tag('phpcms', 'tag_content_lvmao', "SELECT a.contentid,a.catid,a.title,a.style,a.thumb,a.keywords,a.description,a.userid,a.updatetime,a.islink,a.inputtime,a.url FROM `zzinfo_content` a, `zzinfo_content_position` p WHERE a.contentid=p.contentid AND p.posid=11 AND a.status=99   ORDER BY a.contentid DESC", 0, 10, array (  'target' => '_blank',  'titlelen' => '38',));?>
</div>


</div>

<div style="width:360px; margin-left:12px; float:left;">
<div class="infoc2">
<?php include PHPCMS_ROOT.'../cmsblock/class_index.shtml'; ?>
</div>

<?php if(is_array($subcats)) foreach($subcats AS $catid => $cat) { ?>
<?php if($cat[catid]!=77 ) { ?>
<div class="infobox2">
<a href="<?php echo $cat['url'];?>" class="title"><?php echo $cat['catname'];?></a>
<a href="<?php echo $cat['url'];?>" class="more">更多>></a>
</div>
<div class="infoc2 infolist2">
<?php echo tag('phpcms', 'tag_content_lvmao', "SELECT a.contentid,a.catid,a.areaid,a.title,a.style,a.thumb,a.keywords,a.description,a.userid,a.updatetime,a.inputtime,a.url FROM `zzinfo_content` a, `zzinfo_content_position` p WHERE a.contentid=p.contentid AND p.posid=1 AND a.status=99  ".get_sql_catid($CATEGORY[$catid][catid])." ORDER BY a.contentid DESC", 0, 8, array (  'class' => 'url',  'target' => '_blank',  'titlelen' => '50',));?>
</div>
<?php } ?>
<?php } ?>

</div>

<div style="width:252px; margin-left:7px; float:left; overflow:hidden;">
<img src="/img/p3.gif" width="250" style="border:1px #999999 solid; margin-top:2px;" />

<div class="infobox3">
<a href="#" class="title">政策</a>
<a href="#" class="more">更多>></a>
</div>
<div class="infoc3 infolist1">
<?php echo tag('phpcms', 'tag_content_lvmao', "SELECT a.contentid,a.catid,a.title,a.style,a.thumb,a.keywords,a.description,a.userid,a.updatetime,a.islink,a.inputtime,a.url FROM `zzinfo_content` a, `zzinfo_content_position` p WHERE a.contentid=p.contentid AND p.posid=10 AND a.status=99   ORDER BY a.contentid DESC", 0, 10, array (  'target' => '_blank',  'titlelen' => '38',));?>
</div>

<div class="infobox3">
<a href="#" class="title">投票</a>
</div>
<div class="infoc3">
<script language='javascript' src='http://localhost/info/vote/vote.php?voteid=2&action=js&template=vote_vote_submit'></script>
</div>
<img src="/img/p4.gif" width="250" height="222" style="border:1px #999999 solid; margin-top:6px;" />
<div class="infobox3">
<a href="#" class="title">展会</a>
<a href="#" class="more">更多>></a>
</div>
<div class="infoc3 infolist1">
<?php echo tag('phpcms', 'tag_content_lvmao', "SELECT a.contentid,a.catid,a.title,a.style,a.thumb,a.keywords,a.description,a.userid,a.updatetime,a.islink,a.inputtime,a.url FROM `zzinfo_content` a, `zzinfo_content_position` p WHERE a.contentid=p.contentid AND p.posid=8 AND a.status=99   ORDER BY a.contentid DESC", 0, 10, array (  'target' => '_blank',  'titlelen' => '38',));?>
</div>
<div class="infobox3">
<a href="#" class="title">科普</a>
<a href="#" class="more">更多>></a>
</div>
<div class="infoc3 infolist1">
<?php echo tag('phpcms', 'tag_content_lvmao', "SELECT a.contentid,a.catid,a.title,a.style,a.thumb,a.keywords,a.description,a.userid,a.updatetime,a.islink,a.inputtime,a.url FROM `zzinfo_content` a, `zzinfo_content_position` p WHERE a.contentid=p.contentid AND p.posid=9 AND a.status=99   ORDER BY a.contentid DESC", 0, 10, array (  'target' => '_blank',  'titlelen' => '38',));?>
</div>

</div>
<div class="cle">&nbsp;</div>
</div>

<?php include PHPCMS_ROOT.'../include/foot.shtml'; ?>